package com.itheima.springbootwebtlias.service;

import com.itheima.springbootwebtlias.pojo.PageResult;
import com.itheima.springbootwebtlias.pojo.Student;
import com.itheima.springbootwebtlias.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {
    PageResult queryStudent(StudentQueryParam studentQueryParam);

    void addStudent(Student student);

    Student selectByIdStudent(Integer id);

    void updataStudent(Student student);

    void updataByIdScoreViolation(Integer id, Integer score);


    void deleteByIdStudent(List<Integer> ids);
}
